"use client"
import React, { useEffect, useState } from "react";
import ReactDndDesignView from "@/components/reactdnd/design";
import { useParams } from "next/navigation";
import { getFormDetail } from "@/clientApi/flowable/form";
import { useAppDispatch } from "@/store/client";
import { updateApiData } from "@/store/client/modules/reactdndStore";


const editFormView: React.FC = () => {
  const { id } = useParams(); // 获取动态参数
  console.log(id,'id')
  const dispatch = useAppDispatch()

  return (<div className={` h-full`}><ReactDndDesignView id={id as string|number} /></div>

  )
};
export default editFormView;
